package com.chanta.server.persistence;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

/**
 * 
 * TODO Please comment this class..
 * 
 * @author Hakan Özdemir - Vendoo Inc.
 * @date 30.06.2013
 * 
 */
public class ChantaPersistanceMan {

	private static final PersistenceManagerFactory pmf = JDOHelper
			.getPersistenceManagerFactory("transactions-optional");

	/**
	 * Default Constructor.
	 */
	private ChantaPersistanceMan() {
	}

	/**
	 * @return
	 */
	public static PersistenceManager getPersistentManager() {
		return pmf.getPersistenceManager();
	}
}
